package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.entity.EnterpriseDictData;
import com.aiti.lulian.vo.EnterpriseDictDataVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EnterpriseDictDataMapper extends SuperMapper<EnterpriseDictData> {

    List<EnterpriseDictDataVo> selectEnterpriseDictList(@Param("enterpriseId") String enterpriseId, @Param("module") String module, Page<EnterpriseDictData> page);

    List<String> selectDictAllData(@Param("dictTypeNo") String dictTypeNo, @Param("enterpriseId") String enterpriseId);
}
